package a.f;

import a.c.d;
import a.c.k;
import a.c.m;
import a.c.n;
import a.d.w;
import a.i.db;

public class gb
  extends r
{
  public static boolean g;
  
  public boolean canLayout(o paramo)
  {
    return true;
  }
  
  public void doLayout(o paramo)
  {
    boolean bool = o.eg;
    int i = o.dg;
    k localk1 = paramo.c(ed.a);
    k localk2 = paramo.c(ed.b);
    n localn1 = db.b();
    n localn2 = db.b();
    m localm = paramo.w();
    d locald;
    Object localObject;
    label117:
    do
    {
      do
      {
        if (!localm.e()) {
          break;
        }
        locald = localm.a();
        if (i != 0) {
          break label232;
        }
        if (localk1 != null)
        {
          if (bool) {
            break label117;
          }
          localObject = (cd)localk1.get(locald);
          if ((localObject != null) && (((cd)localObject).a())) {
            localn1.a(locald, paramo.p(locald));
          }
        }
        if ((bool) || (localk2 != null))
        {
          localObject = (cd)localk2.get(locald);
          if (bool) {
            continue;
          }
          if (localObject != null)
          {
            if (bool) {
              continue;
            }
            if (((cd)localObject).a()) {
              localn2.a(locald, paramo.q(locald));
            }
          }
        }
        localm.f();
      } while (i == 0);
      a(paramo);
    } while (bool);
    localm = paramo.w();
    label232:
    do
    {
      if (!localm.e()) {
        break;
      }
      locald = localm.a();
      localObject = (w)localn1.get(locald);
      if (!bool)
      {
        if (localObject != null) {
          paramo.a(locald, (w)localObject);
        }
        localObject = (w)localn2.get(locald);
        if (bool) {}
      }
      else
      {
        if (localObject != null) {
          paramo.b(locald, (w)localObject);
        }
        localm.f();
      }
    } while (i == 0);
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.f.gb
 * JD-Core Version:    0.7.0.1
 */